package com.house.keeper.service;

import com.house.keeper.entity.Menu;
import com.house.keeper.entity.bean.MenuBean;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 菜单接口
 * @author zjj
 * @date 2022-05-11
 */
@Service
public interface MenuService {
    /**
     * 根据用户id查询菜单
     * @param userId
     * @return
     */
    List<MenuBean> queryMenuByUserId(int userId);
}
